<template>
  <div class="article-write">
    <article v-html="articleHtml"></article>
  </div>
</template>

<script>
import md from '@/lib/markdown.js';

export default {
  props: ['content'],
  computed: {
    articleHtml() {
      return md.render(this.content);
    },
  },
};
</script>
